From eb9ec1a8a8ccf2e6c2f6bafe81c6efbfee90350c Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 15 Feb 2007 14:24:11 +0000 Subject: [PATCH] x86: fix NMI delivery to dom0 Signed-off-by: Jan Beulich --- xen/arch/x86/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 83be2a3032..4477ed9699 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -1804,7 +1804,7 @@ static void nmi_dom0_report(unsigned int reason_idx) set_bit(reason_idx, nmi_reason(d)); - if ( test_and_set_bit(_VCPUF_nmi_pending, &v->vcpu_flags) ) + if ( !test_and_set_bit(_VCPUF_nmi_pending, &v->vcpu_flags) ) raise_softirq(NMI_SOFTIRQ); /* not safe to wake up a vcpu here */ } -- 2.30.2